import { LAYOUT } from '@/router/constants';
import type { RouteRecordItem } from 'vc/src/router';

const Energy: RouteRecordItem = {
  path: '/energy',
  component: LAYOUT,
  meta: {
    title: '节能节水',
    menuIndex: 0,
    subMenuIndex: 7
  },
  children: [
    {
      path: 'leader',
      component: () => import('@/views/modules/greenFinance/energy/leader/index.vue'),
      meta: {
        title: '能效领跑者企业'
      }
    },
    {
      path: 'product',
      component: () => import('@/views/modules/greenFinance/energy/energyProduct/index.vue'),
      meta: {
        title: '能效之星产品'
      }
    },
    {
      path: 'promotion',
      component: () => import('@/views/modules/greenFinance/energy/promotion/index.vue'),
      meta: {
        title: '国家成熟适用节水技术推广'
      }
    },
    {
      path: 'certification',
      component: () => import('@/views/modules/greenFinance/energy/certification/index.vue'),
      meta: {
        title: '节能节水环保认证企业'
      }
    }
  ]
};

export default Energy;
